
include		msvcrt.inc
includelib	msvcrt.lib
include		macros.asm

ENTITY_RECT_SIZE EQU 16
ENTITY_BULLET_SIZE EQU 28
ENTITY_PERSON_SIZE EQU 16
STRUCT_MAP_SIZE EQU 20

REGION_WIDTH EQU 900
REGION_HEIGHT EQU 600

RECT_WIDTH EQU 50

BULLET_INIT_X EQU 60
BULLET_INIT_Y EQU 530

PERSON_WIDTH EQU 50
PERSON_HEIGHT EQU 100

PROP_WIDTH EQU 50
PROP_HEIGHT EQU 50

stepMap PROTO lpstMap:DWORD
create_rect PROTO lpNext:DWORD,x:REAL4,y:REAL4,isValid:DWORD
create_bullet PROTO lpNext:DWORD,x:REAL4,y:REAL4,orient:REAL4,speed:REAL4,valid:DWORD,crashTimes:DWORD
create_person PROTO lpNext:DWORD,x:REAL4,y:REAL4,alive:DWORD
create_prop PROTO lpNext:DWORD,x:REAL4,y:REAL4,typeId:DWORD
updateBullet PROTO
checkCrash PROTO,lpstMap:DWORD	 
create_map PROTO
free_map PROTO lpstMap:DWORD

;__DEBUG__ equ 1				; debug mode